from rest_framework import serializers
from . import models


class UserModelSerializer(serializers.ModelSerializer):

    class Meta:
        model=models.Users
        fields='__all__'


class OrderModelSerializer(serializers.ModelSerializer):

    class Meta:
        model=models.Order
        fields='__all__'

class ProductModelSerializer(serializers.ModelSerializer):

    class Meta:
        model=models.Product
        fields='__all__'